package com.example.peanutsubway.annotation;

import com.example.peanutsubway.myEnum.ResponseEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author：liulei
 * @Version：1.0
 * @Date：2021/10/9-17:52
 * @Since:jdk1.8
 * @Description:
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ResponseTypeAnnotation {
    ResponseEnum type() default ResponseEnum.AJAX;

}
